<{include file="header.html"}>
<script type="text/javascript" src="<{$smarty.const.APPLICATION_URL}>/scripts/common.js"></script>
<script type="text/javascript">
	function validate()
	{
        var email = document.getElementById('txtemail');
        var name = document.getElementById('txtfullname');
        var des = document.getElementById('txtdes');
        
		if(isEmptyTextBox(name, '<{$smarty.const._LB_NAME_IS_EMPTY|utf8_escape_js}>'))
			return false;
		
		if(isEmptyTextBox(email, '<{$smarty.const._LB_EMAIL_IS_EMPTY|utf8_escape_js}>'))
			return false;

		if(!isValidEmail(email,'<{$smarty.const._LB_INVALID_EMAIL|utf8_escape_js}>')){
            return false;
        }

		if(isEmptyTextBox(des, '<{$smarty.const._LB_CONTENT_IS_EMPTY|utf8_escape_js}>'))
			return false;
		document.frmContact.submit();
	}
</script>
<div id="content">
    <div class="container">
        <div class="main-content">
            <h1 class="title"><{$smarty.const._LB_TESTIMONIAL}></h1>
			<form name="frmContact" method="post" action="" id="form-booking">
                <input type="hidden" name="actionContact" value="send"/>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td colspan="2" ><strong>E-mail us by filling out the form below :</strong></td>
                    </tr>
                    <tr >
                        <td colspan="2"  style="padding-right: 20px;" align="right"><span class="powermail_mandatory">*</span> 
                            <{$smarty.const._LB_REQUIRE_INFORMATION|utf8_escape_html}></td>
                    </tr>
                    <tr>
                        <td><{$smarty.const._LB_FULL_NAME|utf8_escape_html}></td>
                        <td style="padding-bottom:3px"><input name="txtfullname" id="txtfullname" type="text" maxlength="100" size="30" class="textred" />
                            <span class="powermail_mandatory">*</span></td>
                    </tr>
                    <tr>
                        <td><{$smarty.const._LB_EMAIL|utf8_escape_html}></td>
                        <td style="padding-bottom:3px"><input name="txtemail" id="txtemail" type="text" maxlength="100" size="30" class="textred" />
                            <span class="powermail_mandatory">*</span></td>
                    </tr>
                    <tr>
                        <td ><{$smarty.const._LB_CONTENT|utf8_escape_html}></td>
                        <td style="padding-bottom:3px"><textarea name="txtdes" id="txtdes" style="width: 500px;height: 200px;"></textarea>
                            <span class="powermail_mandatory">*</span></td>
                    </tr>
                    <tr>
                        <td colspan="2" height="10px">&nbsp;</td>
                    </tr>
                    <tr>
                    <td><input name="action" type="hidden" value="sending" /></td>
                    <td>
						<button type="reset" ><{$smarty.const._LB_RESET}></button>
						<button type="button" onclick="validate()"><{$smarty.const._LB_VALIDATE}></button>
                    </td>
                    </tr>
                </table>
            </form>
        </div>
        <div class="sidebar">
            <{include file="right_business_hours.html"}>
			<{include file="right_service.html"}>
        </div><!--End .sidebar-->
    </div>
</div>
<{include file="footer.html"}>
